/*
  The <delay.c> implements a simple delay function
 */

// OLD: this functions delays for 12.5 micro-seconds.

// this functions delays for 10 micro-seconds.
void delay(int n)
{
  int i,j;
  volatile int ct;

  ct=10;
  for (i=0;i<800;i++)
    for (j=0;j<n;j++)
      {
	ct++;
	ct*=1;
	ct--;
      }
}
